public class demo {
    public class Date {
        public int year;
        public int month;
        public int day;

        public void setDay(int year, int month, int day) {
            this.year = year;
            this.month = month;
            this.day = day;
        }

        public void printDate() {
            System.out.println(this.year + "/" + this.month + "/" + this.day);
        }
    }

        public void main1(String[] args) {
            Date d = new Date();
            d.setDay(2020,9,15);
            d.printDate();
        }



}
